package com.china.milkywayeye.invoice.pojo;

import java.math.BigDecimal;

/**
 * @Program: java-ceshiuse
 * @ClassName: NewInvoice
 * @Description: 新版全电发票实体类
 * @Author: milkywayeye
 * @Create: 2024-12-16 15:27
 * @Version: v1.0
 */
public class NewInvoice {

    /**
     * 文件绝对路径
     */
    private String fileAbsolutePath;

    /**
     * 发票号码
     */
    private String number;

    /**
     * 开票日期
     */
    private String date;

    /**
     * 销售方名称
     */
    private String sellerName;

    /**
     * 合计金额
     */
    private BigDecimal amount;

    /**
     * 合计税额
     */
    private BigDecimal taxAmount;

    /**
     * 价税合计金额
     */
    private BigDecimal totalAmount;



    /**
     * 获取文件绝对路径
     * @return 文件绝对路径
     */
    public String getFileAbsolutePath() {
        return fileAbsolutePath;
    }

    /**
     * 设置文件绝对路径
     * @param fileAbsolutePath 文件绝对路径
     */
    public void setFileAbsolutePath(String fileAbsolutePath) {
        this.fileAbsolutePath = fileAbsolutePath;
    }

    /**
     * 获取发票号码
     * @return 发票号码
     */
    public String getNumber() {
        return number;
    }

    /**
     * 设置发票号码
     * @param number 发票号码
     */
    public void setNumber(String number) {
        this.number = number;
    }

    /**
     * 获取日期
     * @return 日期
     */
    public String getDate() {
        return date;
    }

    /**
     * 设置日期
     * @param date 日期
     */
    public void setDate(String date) {
        this.date = date;
    }

    /**
     * 获取金额
     * @return 金额
     */
    public BigDecimal getAmount() {
        return amount;
    }

    /**
     * 设置金额
     * @param amount 金额
     */
    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    /**
     * 获取税额
     * @return 税额
     */
    public BigDecimal getTaxAmount() {
        return taxAmount;
    }

    /**
     * 设置税额
     * @param taxAmount 税额
     */
    public void setTaxAmount(BigDecimal taxAmount) {
        this.taxAmount = taxAmount;
    }

    /**
     * 获取价税合计
     * @return 价税合计
     */
    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    /**
     * 设置价税合计
     * @param totalAmount 价税合计
     */
    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    /**
     * 获取销售方名称
     * @return 销售方名称
     */
    public String getSellerName() {
        return sellerName;
    }

    /**
     * 设置销售方名称
     * @param sellerName 销售方名称
     */
    public void setSellerName(String sellerName) {
        this.sellerName = sellerName;
    }


    @Override
    public String toString() {
        return "NewInvoice{" +
                "number='" + number + '\'' +
                ", date='" + date + '\'' +
                ", amount=" + amount +
                ", taxAmount=" + taxAmount +
                ", totalAmount=" + totalAmount +
                ", sellerName='" + sellerName + '\'' +
                '}';
    }
}
